#!/usr/bin/python
# -*- coding: utf-8 -*-
# @version        : 1.0
# @Create Time    : 2024/9/4 9:09
# @File           : assign_users
# @IDE            : PyCharm
# @desc           : 描述

from fastapi import Depends
from core.dependencies import Paging, QueryParams


class QueryTeamParams(QueryParams):
    """
    查询班组列表
    """
    def __init__(
            self,
            pageIndex: str = None,
            pageSize: str = None,
            model: str = None,
            factory: str = None,
            plant: str = None,
            workshop: str = None,
            code: str = None,
            group: str = None,
    ):
        self.pageIndex = pageIndex
        self.pageSize = pageSize
        self.model = model
        self.factory = factory
        self.plant = plant
        self.workshop = workshop
        self.code = code
        self.group = group


class QueryTeamUsersParams(QueryParams):
    """
    查询班组用户列表
    """
    def __init__(
            self,
            pageIndex: str = None,
            pageSize: str = None,
            jobNo: str = None,
            jobCode: str = None,
            deptCode: str = None,
    ):
        self.pageIndex = pageIndex
        self.pageSize = pageSize
        self.jobNo = jobNo
        self.jobCode = jobCode
        self.deptCode = deptCode
